/**
 * @file controller 层 index.js
 * @version 1.0.0
 * @author qingxue
 * @createDate 2024-04-06 20:00
 * @updateDate 2024-04-06 20:00
 */

const userApi = require('./user_controller');

module.exports = function (app) {
  userApi.forEach((apis) => {
    apis.controllers.forEach((api) => {
      app[api.method](api.url, api.callback);
    });
  });
};
